package com.imesne.office.excel.write;

import com.imesne.office.excel.model.ExcelBook;
import org.apache.poi.ss.usermodel.Workbook;

/**
 * Created by liyd on 17/7/4.
 */
public interface ExcelBookWriter {

    /**
     * 写入ExcelBook
     *
     * @param excelBook the excel book
     * @param existFileBytes the exist file bytes
     * @return workbook
     */
    Workbook writeExcelBook(ExcelBook excelBook, byte[] existFileBytes);
}
